package com.wwwarehouse.contract.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;
import java.util.List;

/**
 * Created by feng.gao on 2017/9/23.
 */

public class ChooseModuleBean implements Serializable {
	private int selectCount;
	private ModuleList moduleList;



	public int getSelectCount() {
		return selectCount;
	}

	public void setSelectCount(int selectCount) {
		this.selectCount = selectCount;
	}

	public ModuleList getModuleList() {
		return moduleList;
	}

	public void setModuleList(ModuleList moduleList) {
		this.moduleList = moduleList;
	}





	public static class ModuleList implements Serializable {
		private long page;
		private long size;
		private long total;
		private List<BeanList> list;

		public long getPage() {
			return page;
		}

		public void setPage(long page) {
			this.page = page;
		}

		public long getSize() {
			return size;
		}

		public void setSize(long size) {
			this.size = size;
		}

		public long getTotal() {
			return total;
		}

		public void setTotal(long total) {
			this.total = total;
		}

		public List<BeanList> getList() {
			return list;
		}

		public void setList(List<BeanList> list) {
			this.list = list;
		}

		public static class BeanList implements Serializable {
			private ImageUrl imageUrl;
			private String code;
			private String name;
			private long selected;
			private SelectedValue selectedValue;
			private boolean isSelect;
			private int progress;
			private boolean isRelevance;
			private String value;
			private double scale;
			private boolean showPercent;

			public boolean isShowPercent() {
				return showPercent;
			}

			public void setShowPercent(boolean showPercent) {
				this.showPercent = showPercent;
			}

			public double getScale() {
				return scale;
			}

			public void setScale(double scale) {
				this.scale = scale;
			}

			public String getValue() {
				return value;
			}

			public void setValue(String value) {
				this.value = value;
			}

			public boolean isRelevance() {
				return isRelevance;
			}

			public void setRelevance(boolean relevance) {
				isRelevance = relevance;
			}

			public int getProgress() {
				return progress;
			}

			public void setProgress(int progress) {
				this.progress = progress;
			}

			public boolean isSelect() {
				return isSelect;
			}

			public void setSelect(boolean select) {
				isSelect = select;
			}

			public ImageUrl getImageUrl() {
				return imageUrl;
			}

			public void setImageUrl(ImageUrl imageUrl) {
				this.imageUrl = imageUrl;
			}

			public String getCode() {
				return code;
			}

			public void setCode(String code) {
				this.code = code;
			}

			public String getName() {
				return name;
			}

			public void setName(String name) {
				this.name = name;
			}

			public long getSelected() {
				return selected;
			}

			public void setSelected(long selected) {
				this.selected = selected;
			}

			public SelectedValue getSelectedValue() {
				return selectedValue;
			}

			public void setSelectedValue(SelectedValue selectedValue) {
				this.selectedValue = selectedValue;
			}

			public static class SelectedValue implements Serializable {
				private String selectedCode;
				private String selectedName;

				public String getSelectedCode() {
					return selectedCode;
				}

				public void setSelectedCode(String selectedCode) {
					this.selectedCode = selectedCode;
				}

				public String getSelectedName() {
					return selectedName;
				}

				public void setSelectedName(String selectedName) {
					this.selectedName = selectedName;
				}
			}


			public static class ImageUrl implements Serializable {
				private String defaultUrl;
				private String selectedUrl;

				public String getDefaultUrl() {
					return defaultUrl;
				}

				public void setDefaultUrl(String defaultUrl) {
					this.defaultUrl = defaultUrl;
				}

				public String getSelectedUrl() {
					return selectedUrl;
				}

				public void setSelectedUrl(String selectedUrl) {
					this.selectedUrl = selectedUrl;
				}
			}
		}


	}
}
